package cn.com.bluemoon.daps.notice.template;

import cn.com.bluemoon.daps.notice.template.base.BaseMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;

/**
 * @author Jarod.Kong
 * @date 2022/9/21
 */
@NoArgsConstructor
@Setter
@Getter
@ToString
public class SecurityExportApplyMessage extends BaseMessage {

    private String header;

    @ApiModelProperty(value = "申请人")
    @NotEmpty(message = "申请人必填")
    private String applyUser;

    @ApiModelProperty(value = "工单号")
    @NotEmpty(message = "工单号必填")
    private String workOrderCode;

    @ApiModelProperty(value = "系统名")
    @NotEmpty(message = "系统名必填")
    private String systemName;

    @ApiModelProperty(value = "业务线")
    @NotEmpty(message = "业务线必填")
    private String bizLineName;

    @ApiModelProperty(value = "表名，多个表名自行加工")
    @NotEmpty(message = "表名必填")
    private String tableNames;

    @ApiModelProperty(value = "申请时间，格式：2022-6-21 15:03:00")
    private String applyTime;

    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty("消息尾部")
    private String footer;

    @Override
    public String getMsgTemplatePath() {
        return "security-export-apply-template.html";
    }
}
